﻿@model EasyMvc.Models.User
@using EasyMvc.Utility
@using EasyMvc.Models
<!DOCTYPE html>
<html>
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <title>EasyMvc</title>
    <link href="@Url.Content("~/Static/Styles/MWeb.Login.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    @using (Html.BeginForm())
{
    <div class="admin">
        <div id="" class="wrap">
            <div id="Panel1" class="main">
                <div class="form">
                    <p class="ipt">
                        <label>
                            用户名:</label>
                        @Html.TextBox("Username", "", new Dictionary<string, object> { { "class", "txt jq-login-username" } })
                        <p style="color: Red">@Html.ValidationMessage("Username")</p>
                    </p>
                    <p>
                        <label>
                            密码:</label>
                        @Html.Password("Password","", new Dictionary<string, object> {{"class","txt jq-login-password"}})
                        <p style="color: Red">@Html.ValidationMessage("Password")</p>
                    </p>
                    
                    <p>
                        <label>
                            验证码:</label>
                        @Html.TextBox("VerifyCode", "", new { style = "width:50px;" })
                        <img alt="验证码" class="jq-login-verifyimage" style="cursor: pointer; vertical-align: middle;" src="@Url.Action("VerifyImage")" id="VerifyImage" title="看不清？点击换一个" 
                            onclick="javascript:document.getElementById('VerifyImage').src='@Url.Action("VerifyImage")?r='+Math.random();return false;"/>
                    </p>
                    
                    <p>
                        <input type="submit" name="btnAdminLogin" value="登录" id="btnAdminLogin" class="login jq-login-submit" />
                    </p>
                    <p>
                        <span style="color:Red">@Html.ValidationSummary()</span>
                    </p>
                </div>
            </div>
        </div>
        <div class="footer">
            Powered by guozili@163.com 2012
        </div>
    </div>
}
</body>
</html>
				            	


